how to create interactive plot in r